
wget https://pypi.doubanio.com/packages/46/3e/1b61ed8e501c5d44239602c2e83d2ae43d01f9ec0a570c7cc43169c873bb/opencv-python-3.4.10.37.tar.gz
tar -xvf opencv-python-3.4.10.37.tar.gz
cd opencv-python-3.4.10.37/opencv/
mkdir build
cd build
cmake -D BUILD_opencv_python3=yes -D BUILD_opencv_python2=no -D PYTHON3_EXECUTABLE=/usr/local/python3.7.5/bin/python3.7m -D PYTHON3_INCLUDE_DIR=/usr/local/python3.7.5/include/python3.7m -D PYTHON3_LIBRARY=/usr/local/python3.7.5/lib/libpython3.7m.so -D PYTHON3_NUMPY_INCLUDE_DIRS=/usr/local/python3.7.5/lib/python3.7/site-packages/numpy/core/include -D PYTHON3_PACKAGES_PATH=/usr/local/python3.7.5/lib/python3.7/site-packages -D PYTHON_DEFAULT_EXECUTABLE=/usr/local/python3.7.5/bin/python3.7m ..
make -j64 && make install 
